package com.dries.portal.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dries.portal.admin.entity.UmsResource;
import com.dries.portal.admin.mapper.UmsResourceMapper;
import com.dries.portal.admin.service.IUmsResourceService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class UmsResourceServiceImpl extends ServiceImpl<UmsResourceMapper, UmsResource> implements IUmsResourceService {


    /**
     * 查询全部资源
     */
    @Override
    public List<UmsResource> listAll() {
        return baseMapper.selectList(new QueryWrapper<>());
    }
}